<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork"%>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" id="user_rewardandpunish_mini_form" style="width: 900px;">
    <input type="hidden" id="operFlag" name="operFlag" value="<ww:property value='operFlag'/>" />
    <input type="hidden" id="userId" name="userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="uuid" name="uuid" value="<ww:property value='userInfoDialogVo.userRewardAndPunishVo.uuid'/>" />
    <input type="hidden" id="lableId" name="lableId" value="<ww:property value='lableId'/>" />
    <input type="hidden" id="userInfoDialogVo.userRewardAndPunishVo.uuid" name="userInfoDialogVo.userRewardAndPunishVo.uuid" value="<ww:property value='userInfoDialogVo.userRewardAndPunishVo.uuid'/>" />
    <input type="hidden" id="userInfoDialogVo.userRewardAndPunishVo.userId" name="userInfoDialogVo.userRewardAndPunishVo.userId" value="<ww:property value='userId'/>" />

    <div class="content">
        <div class="box box-primary">
            <div class="box-body previewTable tab-content">
                <table class="table table-bordered editTable form-group-sm">
                    <thead>
                    <tr>
                        <th colspan="12">奖罚信息</th>
                    </tr>
                    </thead>
                    <tbody>
                        <tr class="firstRow">
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                            <td colspan="1" class="col-md-1"></td>
                        </tr>
                        <tr>
                            <td class="tdLable" colspan="2">奖惩名称</td>
                            <td colspan="4">
                                <input name="userInfoDialogVo.userRewardAndPunishVo.rewardandpunishname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userRewardAndPunishVo.rewardandpunishname'/>">
                            </td>
                            <td class="tdLable" colspan="2">奖惩名称代码</td>
                            <td colspan="4">
                                <ww:select attributes="class='form-control'" name="userInfoDialogVo.userRewardAndPunishVo.rewardandpunishcode" value="userInfoDialogVo.userRewardAndPunishVo.rewardandpunishcode" list="#dictID.getDictList('d_rewardOrPunshi', '请选择')"
                                           listKey="code" listValue="name">
                                </ww:select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdLable" colspan="2">批准日期</td>
                            <td colspan="4">
                                <input type="text" class="Wdate form-control" name="userInfoDialogVo.userRewardAndPunishVo.permittime" readonly="readonly"
                                       onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userRewardAndPunishVo.permittime)"/>'>
                            </td>
                            <td class="tdLable" colspan="2">批准机关</td>
                            <td colspan="4">
                                <input name="userInfoDialogVo.userRewardAndPunishVo.permitinstitution" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userRewardAndPunishVo.permitinstitution'/>">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdLable" colspan="2">批准机关级别</td>
                            <td colspan="4">
                                <ww:select attributes="class='form-control'" name="userInfoDialogVo.userRewardAndPunishVo.permitinstitutionlevel" value="userInfoDialogVo.userRewardAndPunishVo.permitinstitutionlevel" list="#dictID.getDictList('d_unitLevel', '请选择')"
                                           listKey="code" listValue="name">
                                </ww:select>
                            </td>
                            <td class="tdLable" colspan="2">受奖惩时职务层次</td>
                            <td colspan="4">
                                <ww:select attributes="class='form-control'" name="userInfoDialogVo.userRewardAndPunishVo.sufferlevel" value="userInfoDialogVo.userRewardAndPunishVo.sufferlevel" list="#dictID.getDictList('d_jobLevel', '请选择')"
                                           listKey="code" listValue="name">
                                </ww:select>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdLable" colspan="2">撤销日期</td>
                            <td colspan="4">
                                <input type="text" class="Wdate form-control" name="userInfoDialogVo.userRewardAndPunishVo.canceltime" readonly="readonly"
                                       onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userRewardAndPunishVo.canceltime)"/>'>
                            </td>
                            <td class="tdLable" colspan="6"></td>
                        </tr>
                    </tbody>
                </table>
                <div class="operBtn">
                    <button class="btn green" type="button" onclick="save('<ww:property value="operFlag"/>','dialog','user_rewardandpunish_mini_form','<ww:property value="lableId"/>','<ww:property value="userId"/>');"><i class="fa fa-save" aria-hidden="true"></i>&nbsp;保存</button>
                    <button class="btn" type="button" onclick="$css.closeDialog()"><i class="fa fa-times-circle-o" aria-hidden="true"></i>&nbsp;关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>